<cfif displayMode eq "live">

	<cf_JelCMS_Content		displayMode 		= "live"
							navId 				= "#navId#"
							urlPathToDocuments	= "#urlPathToDocuments#"
							datasourcename 		= "#datasourcename#">
						
<cfelseif displayMode eq "preview">

	<cfparam name="previewNavigationId" default="0">
	<cfparam name="previewContentId" type="numeric" default="0">
	<cfparam name="previewContentTypeId" default="0">

	<cfswitch expression="#previewContentTypeId#">
		<!--- preveiw web page --->
		<cfcase value="1">

			<cfparam name="previewTitle" type="string" default="">
			<cfparam name="previewLayoutId" type="numeric" default="0">
			<cfparam name="previewContent1" type="string" default="">
			<cfparam name="previewContent2" type="string" default="">
			<cfparam name="previewContent3" type="string" default="">
			<cfparam name="previewSummary" type="string" default="">
			<cfparam name="previewKeywords" type="string" default="">
			
			<cf_JelCMS_Content		displayMode			= "preview"
									previewContentTypeId= "#previewContentTypeId#"
									previewNavigationId	= "#previewNavigationId#"
									previewContentId 	= "#previewContentId#"
									previewTitle 		= "#previewTitle#"
									previewLayoutId 	= "#previewLayoutId#"
									previewContent1 	= "#previewContent1#"
									previewContent2 	= "#previewContent2#"
									previewContent3 	= "#previewContent3#"
									previewSummary	 	= "#previewSummary#"
									previewKeywords 	= "#previewKeywords#"
									datasourcename 		= "#datasourcename#">
							
		</cfcase>
		<!--- preview news item --->
		<cfcase value="5">

			<cfparam name="previewNewsDate" type="string" default="">
			<cfparam name="previewTitle" type="string" default="">
			<cfparam name="previewNewsTypeId" type="numeric" default="0">
			<cfparam name="previewSubTitle" type="string" default="">
			<cfparam name="previewLocation" type="string" default="">
			<cfparam name="previewIsFeatured" type="numeric" default="0">
			<cfparam name="previewFeaturedTitle" type="string" default="">
			<cfparam name="previewBody" type="string" default="">
			<cfparam name="previewSummary" type="string" default="">
			<cfparam name="previewKeywords" type="string" default="">
		
			<cf_JelCMS_Content		displayMode			= "preview"
									previewContentTypeId= "#previewContentTypeId#"
									previewNavigationId	= "#previewNavigationId#"
									previewContentId 	= "#previewContentId#"
									previewNewsDate		= "#previewNewsDate#"
									previewTitle 		= "#previewTitle#"
									previewNewsTypeId 	= "#previewNewsTypeId#"
									previewSubTitle 	= "#previewSubTitle#"
									previewLocation 	= "#previewLocation#"
									previewIsFeatured	= "#previewIsFeatured#"
									previewFeaturedTitle	= "#previewFeaturedTitle#"
									previewBody		 	= "#previewBody#"
									previewSummary	 	= "#previewSummary#"
									previewKeywords 	= "#previewKeywords#"
									datasourcename 		= "#datasourcename#">
									
		</cfcase>

	</cfswitch>
	
	<cfset navId = #previewNavigationId#>
	
</cfif>

<cfif not IsDefined("webPage") and not IsDefined("newsItem")>
	<cfset navId = unavailableNavigationId>
	<cf_JelCMS_Content		displayMode 		= "live"
							navId 				= "#navId#"
							urlPathToDocuments	= "#urlPathToDocuments#"
							datasourcename 		= "#datasourcename#">
</cfif>

<cfif IsDefined("webPage") or IsDefined("newsItem")>

	<cfparam name="showPrintable" default="0">

	<cf_JelCMS_Menu	navId = "#navId#"
						datasourcename = "#datasourcename#">
	<cf_JelCMS_Header	navId = "#navId#"
						datasourcename = "#datasourcename#"
						directoryPathToTemplates = "#directoryPathToTemplates#">		
	<cf_JelCMS_Footer	navId = "#navId#"
						datasourcename = "#datasourcename#"
						directoryPathToTemplates = "#directoryPathToTemplates#">


	<cfscript>
		inWorkshops = false;
		currentParentId = listFirst(parentIdList);
		if (listLen(parentIdList) gt 1) {
			currentParentId = listGetAt(parentIdList, 2);
			if (currentParentId eq 5 or currentParentId eq 41) {
				inWorkshops = true;
			}
		}
	</cfscript>
	<cfoutput>
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
		<html>
		<head>
			<cfif IsDefined("webPage")>
				<title><cfif len(webpage.title)>#webpage.title#<cfelse>#clientName#</cfif></title>
			<cfelseif isdefined("newsitem")>
				<title><cfif len(newsitem.title)>#newsitem.title#<cfelse>#clientName#</cfif></title>
			<cfelse>
				<title>#ClientName#</title>
			</cfif>
			<link rel="stylesheet" href="/common/styles.css">
			<link rel="stylesheet" href="#urlPathToStyleSheet#">
			<script language="javascript" src="/common/scripts.js"></script>
			
			<script language="JavaScript" src="/common/dhtml.js"></script>
			<link href="/common/dhtml.css" rel="stylesheet">
			<!--- <meta name="google-site-verification" content="-XoRSXgUO5ZV8G6MLtZnYX-Yw4mwH6lGfUdgAXiBsB4" /> --->
			
			<cfif inWorkshops>
				<link rel="stylesheet" href="/common/workshops.css">
			</cfif>

			<cfif IsDefined("webPage")>
				<meta name="Keywords" content="#htmleditformat(webPage.keywords)#">
				<meta name="Description" content="#htmleditformat(webPage.summary)#">
			<cfelseif IsDefined("newsItem")>
				<meta name="Keywords" content="#htmleditformat(newsItem.keywords)#">
				<meta name="Description" content="#htmleditformat(newsItem.summary)#">
			</cfif>
		</head>
		<cfparam name="onloadProcs" default="">
		<body onLoad="doLoadProc();#onloadProcs#">
			<div id="hideDhtml" onMouseOver="hideLayer('hideDhtml'); delayedNavHide();">
				<a href="javascript:void(0);" onMouseOver="hideLayer('hideDhtml'); delayedNavHide();"><img src="/common/images/spacer.gif" width="99%" height="99%" border="0" alt="" galleryimg="no"></a>
			</div>
			
			<a name="top" style="display: none;"></a>

			<div class="main">
				<table border="0" cellpadding="0" cellspacing="0" class="mainTable">
					<tr valign="top">
						<td class="contentColumn">
							<cfif not showPrintable>
								<cfif Len(header.fileName) gt 0>
									<cfinclude template="#CFMapping_Root#/templates/#header.fileName#">
								</cfif>
							</cfif>

							<cfif IsDefined("webPage")>
								<cfinclude template="#CFMapping_Root#/common/web_page_layouts.cfm">
							<cfelseif IsDefined("newsItem")>
								<cfinclude template="#CFMapping_Root#/common/news_type_layouts.cfm">
							</cfif>
				
							<img src="/common/images/spacer.gif" width="744" height="1" alt="" border="0"><br>
					
							<cfif not showPrintable>
								<cfif Len(footer.fileName) gt 0>
									<cfinclude template="#CFMapping_Root#/templates/#footer.fileName#">
								</cfif>
							</cfif>
						</td>
						<td class="extraColumn">
							<cfif currentParentId neq 1>
								<img src="/common/images/bg/ds-corner.gif" width="11" height="14" alt="" border="0"><br>
								<img src="/common/images/spacer.gif" width="1" height="61" alt="" border="0"><br>
							</cfif>
							<cfinclude template="/common/corkboard.cfm">
						</td>
					</tr>
				</table>
			</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-3613252-1");
pageTracker._initData();
pageTracker._trackPageview();
} catch (err) {}
</script>

	
		</body>
		</html>
	</cfoutput>

	
</cfif>




